<div class="container">
    <div class="wrap">
        <div class="inside">
            <div class="form">
                <h1>Import Payment (CSV)</h1>
                <?php if($processed!==false):?>
                <h3>Processe completed</h3>
                <?php endif;?>
                <?php $form = $this->beginWidget('CActiveForm',array(
                    'htmlOptions'=>array(
                        'enctype'=>'multipart/form-data',
                    )
                ));?>
                    <div class="row">
                        <label>Payment file:</label>
                        <?php echo $form->fileField($model,'payment');?>
                        <?php echo $form->error($model,'payment');?>
                    </div>
                    <div class="row">
                        <label>Payment details file:</label>
                        <?php echo $form->fileField($model,'paymentDetail');?>
                        <?php echo $form->error($model,'paymentDetail');?>
                    </div>
                    <div class="row">
                        <label>First row is header</label>
                        <?php echo $form->checkBox($model,'headerRow');?>
                        <?php echo $form->error($model,'headerRow');?>
                    </div>
                    <div class="row_buttons">
                        <input type="submit" value="Process" name="btnSubmit"/>
                    </div>
                <?php $this->endWidget(); ?>
            </div>
        </div>
    </div>
</div>